<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, max-scale=1, min-scale=1, viewport-fit=cover">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>久趣英语服务号</title>
  <meta name="_token" content="{{ csrf_token() }}"/>
  <style>
    body {
      margin: 0;
      padding: 0;
      overflow: hidden;
      width: 100%;
    }
    .qrcode {
      display: block;
      width: auto;
      height: 100vh;
      margin-left: 50%;
      transform: translateX(-50%);
    }
  </style>
</head>
<body>
<img class="qrcode" src="{{env('CDN_RESOURCE')}}/mobile/campaign/subscribe/img/background.png">
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript" src="https://static-app.97kid.com/wx/js/zepto.min.js"></script>
<script type="text/javascript" src="{{env('CDN_RESOURCE')}}/js/mobile/Zepto_fx_methods.js"></script>
<script type="text/javascript" src="{{env('CDN_RESOURCE')}}/js/mobile/wx_config.js" crossorigin></script>
<script type="text/javascript" src="{{env('CDN_RESOURCE')}}/js/AV.analytics.js"></script>
<script>
  var analytics = AV.analytics({
    appId: 'antYy9lOFi5mkU9QKjtYmRLM-gzGzoHsz',
    appKey: 'jqyWxLyobpsmdwsJddJlDheb'
  })
  analytics.send({
    event: 'subscribe-open'
  })
  var configOption = {
    timestamp: '{{$signature['timestamp']}}',
    nonceStr: '{{$signature['nonceStr']}}',
    signature: '{{$signature['signature']}}',
    jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareQZone']
  }
  var wxconfig = new WxConfig(configOption, 'subscribe')
</script>
</body>
</html>